<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
	<th:block th:include="include :: header('重点监控批次查询')" />
	<base target="_self" />
</head>
<body class="gray-bg">
     <div class="container-div">
		<div class="row">
			<div class="col-sm-12 select-table table-striped">
				<table id="bootstrap-table"></table>
			</div>
		</div>
	</div>
    <div th:include="include :: footer"></div>
	 <script th:inline="javascript">
		 var prefix = ctx + "wt/auditDaylogQuery";
		 var statusDatas = [[${@dict.getType('paea_au_batch_status')}]];
		 var wtCheckDaylog = [[${wtCheckDaylog}]];
		 var paeaAuTypeMap = [[${paeaAuTypeMap}]];
		 var method= [[${method}]];
		 $(function() {
			 var options = {
				 url: prefix + method,
				 exportUrl: prefix + "/export",
				 striped: true,
				 clickToSelect: true,
				 showSearch: false,
				 showRefresh: false,
				 showToggle: false,
				 showColumns: false,
				 showExport: true,
				 modalName: "重点监控批次查询",
				 queryParams:wtCheckDaylog,
				 columns: [{
					 radio: true
				 },
					 {
						 field : 'id',
						 title : 'id',
						 visible: false
					 },
					 {
						 field : 'orgId',
						 title : '机构号'
					 },
					 {
						 field : 'batchType',
						 title : '类型代码'
					 },
					 {
						 field : 'batchType',
						 title : '监控类型',
						 formatter: function(value, row, index) {
							 return paeaAuTypeMap[row.batchType];
						 }
					 },
					 {
						 field : 'trDate',
						 title : '交易日期'
					 },
					 {
						 field : 'auditorId',
						 title : '监控员'
					 },
					 {
						 field : 'finishNum',
						 title : '已监控数量'
					 },
					 {
						 field : 'auItemNum',
						 title : '监控总数'
					 },
					 {
						 field : 'batchType',
						 title : '类型',
						 formatter: function(value, row, index) {
							 return row.batchType=="8888"?"人工选择":"重点监控";
						 }
					 },
					 {
						 field : 'status',
						 title : '状态',
						 formatter: function(value, row, index) {
							 return $.table.selectDictLabel(statusDatas, value);
						 }
					 },
					 {
						 field : 'limitDate',
						 title : '监控期限'
					 }]
			 };
			 $.table.init(options);
		 });
	 </script>
</body>
</html>